#define  _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>

size_t my_strlen(const char* str)
{
	size_t count = 0;
	
	while (*str)
	{
		count++;
		str++;
	}
	return count;
}

int main()
{
	char arr[] = "abcdef";
	size_t len = my_strlen(arr);
	printf("%zd", len);
	return 0;
}